//http://www.boost.org/doc/libs/1_52_0/doc/html/boost_asio/tutorial/tuttimer3.html

#include<iostream>
#include<boost/asio.hpp>

#include<boost/date_time/posix_time/posix_time.hpp>

void print(const boost::system::error_code& /*e*/) {
	std::cout << "Hello, world!!!!!!!\n";
}

int main() {
	boost::asio::io_service io;
	boost::asio::deadline_timer t(io, boost::posix_time::seconds(5));

	t.async_wait(&print);
	io.run();

	return 0;
}
